package com.loveweinuo.bean;

import java.io.Serializable;

/**
 * Created by 86178 on 2019/8/9.
 * author mogen
 * 用心，成就一切。
 */


public class RegisterCallBackBean implements Serializable {

    /**
     * code : 200
     * msg : 请求成功
     * result : {"invCode":"801027","isExpert":0,"level":1,"role":1,"token":"55139db9e699f25d8878f149c1aaa14b5305c1227c2f8185","userChannel":"","userCode":"","userHead":"http://oss.zzbhxc.com/admin%2FHeadportrait.jpg","userId":"1147503514328223746","userNick":"维诺情感-801027","userPhone":"15515291707","userSex":1,"userSign":"这家伙很懒什么都没留下。。。"}
     * success : true
     */

    private String code;
    private String msg;
    private ResultBean result;
    private boolean success;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class ResultBean implements Serializable{
        /**
         * invCode : 801027
         * isExpert : 0
         * level : 1
         * role : 1 //1 用户  2 专家
         * token : 55139db9e699f25d8878f149c1aaa14b5305c1227c2f8185
         * userChannel :
         * userCode :
         * userHead : http://oss.zzbhxc.com/admin%2FHeadportrait.jpg
         * userId : 1147503514328223746
         * userNick : 维诺情感-801027
         * userPhone : 15515291707
         * userSex : 1
         * userSign : 这家伙很懒什么都没留下。。。
         */

        private String invCode;
        private int isExpert;
        private int level;
        private int role;
        private String token;
        private String userChannel;
        private String userCode;
        private String userHead;
        private String userId;
        private String userNick;
        private String userPhone;
        private int userSex;
        private String userSign;

        public String getInvCode() {
            return invCode;
        }

        public void setInvCode(String invCode) {
            this.invCode = invCode;
        }

        public int getIsExpert() {
            return isExpert;
        }

        public void setIsExpert(int isExpert) {
            this.isExpert = isExpert;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUserChannel() {
            return userChannel;
        }

        public void setUserChannel(String userChannel) {
            this.userChannel = userChannel;
        }

        public String getUserCode() {
            return userCode;
        }

        public void setUserCode(String userCode) {
            this.userCode = userCode;
        }

        public String getUserHead() {
            return userHead;
        }

        public void setUserHead(String userHead) {
            this.userHead = userHead;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserNick() {
            return userNick;
        }

        public void setUserNick(String userNick) {
            this.userNick = userNick;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public int getUserSex() {
            return userSex;
        }

        public void setUserSex(int userSex) {
            this.userSex = userSex;
        }

        public String getUserSign() {
            return userSign;
        }

        public void setUserSign(String userSign) {
            this.userSign = userSign;
        }
    }
}
